package com.project.service.impl;

import com.project.bean.RepliesBean;
import com.project.mapper.IRepliesMapper;
import com.project.service.IRepliesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service("RepliesServiceImpl")
@Transactional
public class RepliesServiceImpl implements IRepliesService {
    @Autowired
    IRepliesMapper mapper;

    @Override
    public void add(RepliesBean repliesBean) {
        mapper.insert(repliesBean);
    }
}
